/** 公共接口 **/
import { base_uri } from '../request.config';

const commonApi = {
    gearsPushList: 'push/log/list', // 数据对接列表
    repushByDb: 'push/log/repushByDb', // 数据补推
    rePushByIds: 'push/log/rePushByIds', // 重推失败记录
    solve: 'push/log/solve', // 批量标记已处理
};

const common: any = Object.keys(commonApi)
    .reduce((origin, item) => {
        origin[item] = `${base_uri}/${commonApi[item]}`;
        return origin;
    }, {})

export default common;
